\lstset{numbers=left,
  numberstyle=\footnotesize,      % the size of the fonts that are used for the line-numbers
  stepnumber=1,                   % the step between two line-numbers. If it's 1, each line 
				   % will be numbered
  numbersep=3pt,                  % how far the line-numbers are from the code
%   frame=single,              	   % adds a frame around the code
  tabsize=2,                      % sets default tabsize to 4 spaces
}


\tiny{

\lstinputlisting[language=C++]{../main.cpp}

\lstinputlisting[language=C++]{../include/metropolis.h}

\lstinputlisting[language=C++]{../src/metropolis.cpp}

}